package comday03.itheima02;

import java.util.Scanner;

public class Demo07 {
    public static void main(String[] args) {

        int a;

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int i = sc.nextInt();

        if(i > 10){
            a = 10;
        }else{
            a = 20;
        }

        System.out.println(a);

    }
}
